////////////////////////////////////////////////////////////////////////////////
// Copyright 2005 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   TODO_LIST
// AUTHOR           :   Victor.zheng 
// DATE CREATE      :   2005/10/25
// DESCRIPTION      :   a CRITERIA file for the function, TODO_LIST
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2005/10/25   Victor.zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.login.todoList.criteria;

import com.erp.framework.model.criteria.SimplePageEditStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Victor.zheng 
* @version 1.0     2005/10/25
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first 5 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class TodoListSrchCriteria extends SimplePageEditStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_TODO_LIST)
	private String srchCompanyCode;                  //DB Column Name: COMPANY_CODE
	private String srchStatus;                       //DB Column Name: STATUS
	private String srchUserGroupFr;                  //DB Column Name: USER_GROUP
	private String srchUserGroupTo;                  //DB Column Name: USER_GROUP
	private String srchTodoCodeFr;                   //DB Column Name: TODO_CODE
	private String srchTodoCodeTo;                   //DB Column Name: TODO_CODE
	private String srchTodoNameFr;                   //DB Column Name: TODO_NAME
	private String srchTodoNameTo;                   //DB Column Name: TODO_NAME
	private String srchTodoDescFr;                   //DB Column Name: TODO_DESC
	private String srchTodoDescTo;                   //DB Column Name: TODO_DESC
	private String srchPriorityFr;                   //DB Column Name: PRIORITY
	private String srchPriorityTo;                   //DB Column Name: PRIORITY

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchUserGroupFr = " + this.srchUserGroupFr
			+ "\n, srchUserGroupTo = " + this.srchUserGroupTo
			+ "\n, srchTodoCodeFr = " + this.srchTodoCodeFr
			+ "\n, srchTodoCodeTo = " + this.srchTodoCodeTo + "}\n";

		String colStr = "COL: {srchTodoNameFr = " + this.srchTodoNameFr
			+ "\n, srchTodoNameTo = " + this.srchTodoNameTo
			+ "\n, srchTodoDescFr = " + this.srchTodoDescFr
			+ "\n, srchTodoDescTo = " + this.srchTodoDescTo
			+ "\n, srchPriorityFr = " + this.srchPriorityFr
			+ "\n, srchPriorityTo = " + this.srchPriorityTo + "}\n";

		String mandatoryStr = "{srchCompanyCode = " + this.srchCompanyCode
			+ "\n, srchStatus = " + this.srchStatus
			+ "}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchCompanyCode() {
		return this.srchCompanyCode;
	}

	public String getSrchStatus() {
		return this.srchStatus;
	}

	public String getSrchUserGroupFr() {
		return this.srchUserGroupFr;
	}

	public String getSrchUserGroupTo() {
		return this.srchUserGroupTo;
	}

	public String getSrchTodoCodeFr() {
		return this.srchTodoCodeFr;
	}

	public String getSrchTodoCodeTo() {
		return this.srchTodoCodeTo;
	}

	public String getSrchTodoNameFr() {
		return this.srchTodoNameFr;
	}

	public String getSrchTodoNameTo() {
		return this.srchTodoNameTo;
	}

	public String getSrchTodoDescFr() {
		return this.srchTodoDescFr;
	}

	public String getSrchTodoDescTo() {
		return this.srchTodoDescTo;
	}

	public String getSrchPriorityFr() {
		return this.srchPriorityFr;
	}

	public String getSrchPriorityTo() {
		return this.srchPriorityTo;
	}

	public void setSrchCompanyCode(String srchCompanyCode) {
		this.srchCompanyCode = srchCompanyCode;
	}

	public void setSrchStatus(String srchStatus) {
		this.srchStatus = srchStatus;
	}

	public void setSrchUserGroupFr(String srchUserGroupFr) {
		this.srchUserGroupFr = srchUserGroupFr;
	}

	public void setSrchUserGroupTo(String srchUserGroupTo) {
		this.srchUserGroupTo = srchUserGroupTo;
	}

	public void setSrchTodoCodeFr(String srchTodoCodeFr) {
		this.srchTodoCodeFr = srchTodoCodeFr;
	}

	public void setSrchTodoCodeTo(String srchTodoCodeTo) {
		this.srchTodoCodeTo = srchTodoCodeTo;
	}

	public void setSrchTodoNameFr(String srchTodoNameFr) {
		this.srchTodoNameFr = srchTodoNameFr;
	}

	public void setSrchTodoNameTo(String srchTodoNameTo) {
		this.srchTodoNameTo = srchTodoNameTo;
	}

	public void setSrchTodoDescFr(String srchTodoDescFr) {
		this.srchTodoDescFr = srchTodoDescFr;
	}

	public void setSrchTodoDescTo(String srchTodoDescTo) {
		this.srchTodoDescTo = srchTodoDescTo;
	}

	public void setSrchPriorityFr(String srchPriorityFr) {
		this.srchPriorityFr = srchPriorityFr;
	}

	public void setSrchPriorityTo(String srchPriorityTo) {
		this.srchPriorityTo = srchPriorityTo;
	}

}
